package com.cloud.alibaba.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/24 16:04
 */
@Mapper
public interface AccountDao {

    /**
     * 扣减账户余额
     */
    void decrease(@Param("userId") Long userId,@Param("money") BigDecimal money);
}
